import type { JSX } from 'preact';

/** Social identity icon for ORCID (https://orcid.org/). */
export default function ORCIDIcon({
  ...props
}: JSX.SVGAttributes<SVGSVGElement>) {
  return (
    <svg
      width="24"
      height="24"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        fill-rule="evenodd"
        clip-rule="evenodd"
        d="M24 12c0 6.6278-5.3723 12-12 12-6.6285 0-12-5.3722-12-12C0 5.3715 5.3715 0 12 0c6.6278 0 12 5.3715 12 12Z"
        fill="#A6CE39"
      />
      <path
        fill-rule="evenodd"
        clip-rule="evenodd"
        d="M14.1098 7.2278h-4.0875v10.425h4.1055c3.4162 0 5.5125-2.5335 5.5125-5.2125 0-1.2263-.4215-2.529-1.3275-3.528-.9113-1.002-2.2987-1.6845-4.2037-1.6845ZM13.95 15.975h-2.1098v-7.0688H13.875c1.3672 0 2.34.414 2.97 1.05.6315.6367.939 1.5157.939 2.484 0 .588-.1792 1.4752-.7447 2.211-.5587.7268-1.5075 1.3238-3.0892 1.3238Zm3.9833-3.0195c-.1883 1.305-1.1205 3.207-3.9833 3.207h-2.2972H13.95c2.8628 0 3.795-1.902 3.9833-3.207Zm1.359-1.8038c-.4928-1.9508-2.1375-3.7365-5.1825-3.7365h-3.9 3.9c3.045 0 4.6897 1.7857 5.1825 3.7365Zm.1612 1.2885ZM6.2723 7.2562v10.4153h1.8188V7.2562H6.2723Zm1.6312 10.2278H6.459h1.4438ZM7.1813 6.4875c.63 0 1.1347-.5168 1.1347-1.1348 0-.6172-.5047-1.134-1.1347-1.134-.6285 0-1.134.5055-1.134 1.1348 0 .6172.504 1.134 1.134 1.134Z"
        fill="#fff"
      />
    </svg>
  );
}
